package com.baitiaojun.video.service;

import com.baitiaojun.api.domain.video.CollectionGroup;
import com.baitiaojun.api.vo.CollectionGroupWrapper;

import java.util.List;

/**
 * @类名 VideoCollectionService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/22 20:43
 * @版本 1.0
 */
public interface CollectionGroupService {

    void addCollectionGroup(CollectionGroup collectionGroup, Long userId, String nick) throws Exception;

    void updateCollectionGroup(CollectionGroup collectionGroup, Long userId) throws Exception;

    List<CollectionGroupWrapper> getCollectionGroupContents(Long userId, String nick) throws Exception;

    void cancelCollectionGroup(Long groupId, Long userId) throws Exception;

    List<CollectionGroupWrapper> getVideoCollectionContentsFromMysql(Long userId, String nick) throws Exception;

    List<CollectionGroup> getCollectionGroups(Long userId);
}